package com.bba.manager.common.model.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zzy
 * @since 2025-08-12
 */
@Getter
@Setter
@TableName("order_details")
public class OrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单详情编号
     */
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 订单编号
     */
    @TableField("order_id")
    private Long orderId;

    /**
     * 车辆编号
     */
    @TableField("car_id")
    private Long carId;

    /**
     * 车辆订单数
     */
    @TableField("car_number")
    private Integer carNumber;
}
